% Teager engrgy operator
function teager_power=teager_power_function(signal)
    teager_power=zeros(1,length(signal));
    for i=2:length(signal)-1
        teager_power(1,i)=signal(1,i)*signal(1,i)-signal(1,i+1)*signal(1,i-1);
    end
end